package com.shop.service;

import com.shop.bean.User;
import com.shop.util.Page;

import java.util.List;

public interface IUserService {

    int changePassword(Integer id,String newpassword,String oldpassword,String confirmpassword);

    User getUserByID(Integer id);

    int editUser(User user);

    User getUser(User user);


    public int reloadPassword(Integer id);


    public List<User> selectUsers  (Page page, String text);

    public int getCount(String text);

    public int deleteUser(int id);
}
